<template>
  <div class="achievement" v-cloak>
    <div class="bg_color"></div>
    <div style="height: 4px;position: absolute;z-index: 2222; width: 100%; top: 46px;background: #f0f0f0"></div>
    <div style="height: 50px;"></div>
    <div class="about-us content" v-show="show">
      <img class="icon" src="../assets/image/yy_pd.png">
      <p class="text">订单正在派送中</p>
      <p class="text">请您耐心等候...</p>
      <!--<p class="info"><span>特别提示：</span>尊贵的用户加入我们享受更多<span class="free"><img src="../assets/image/free.png"></span>服务</p>-->
      <!--<span class="btn" @click="join">加入我们</span>-->
    </div>
  </div>
</template>
<script>
  export default {
    name: 'Dispatch',
    data () {
      return {
        show: true,
        content: ''
      }
    },
    methods: {
      verify: function () {
        this.$chaos.setTitle('派单中')
        this.$store.commit('headerShow', true)
        this.$store.commit('title', '派单中')
        this.$store.commit('footerShow', false)
      }
    },
    created: function () {
      this.verify()
    },
    mounted: function () {
      window.scrollTo(0, 2000)
    },
    watch: {
      '$route': 'verify'
    }
  }
</script>
<style scoped>
  [v-cloak] {
    display: block;
  }
  body,
  html {
    background: #f9f9f9;
  }
  .content{
    padding-top: 48px
  }
  .content .icon{
    width: 70px;
    height: 85px;
    display: block;
    margin: 100px auto 15px
  }
  .content .text{
    text-align: center;
    color: #333;
    height: 20px;
    line-height: 20px
  }
  .content .info{
    text-align: center;
    font-size: 12px;
    height: 20px;
    line-height: 20px;
    margin-top: 40px;
    margin-bottom: 20px
  }
  .content .info span{
    color: #f11
  }
  .content .info .free{
    display: inline-flex;
    height: 20px;
    vertical-align: middle;
    margin: 0 2px;
  }
  .content .info .free img{
    width: 32px;
    height: 16px;
    display: block;
  }
  .content .btn{
    display: block;
    margin: 0 auto;
    width: 80px;
    height: 28px;
    background: rgb(255,160,40);
    color: #fff;
    line-height: 28px;
    text-align: center;
    border-radius: 4px
  }
</style>
